package cn.buildoncloud.labor.workermanapplet.business.modules.services;

import cn.buildoncloud.labor.workermanapplet.common.base.service.BaseService;
import cn.buildoncloud.labor.workermanapplet.common.page.Pagination;
import cn.buildoncloud.labor.workermanapplet.dto.TeamInProjectDTO;
import cn.buildoncloud.labor.workermanapplet.dto.WorkerTeamDTO;

import java.util.Map;

/**
 * Description: cn.buildoncloud.labor.workermanapplet.business.modules.services
 * Created by CuiZibo on 2018/11/6 18:32
 */
public interface WorkerTeamService extends BaseService<Map> {
    Pagination fuzzyQueryWorkerTeam(String projectId, String key, Integer pageNumber, Integer pageSize);

    TeamInProjectDTO queryWorkerTeamInfoByIdAndProjectId(String projectId, String workerTeamId);

    TeamInProjectDTO queryWorkerTeamInfoById(String workerTeamId, String projectId, String allOrIn, Integer pageNumber, Integer pageSize);

    WorkerTeamDTO queryWorkerTeamInfoByIdCardNo(String idCardNo);

    String createWorkerTeam(Map createTeamParameterMap);

    int enterPorject(Map enterProjectParameterMap);
}
